//
//  MathUtil.cpp
//  DiceWar
//
//  Created by xiaofeng on 19/6/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#include "MathUtil.h"

namespace mathUtil 
{
    float getDistanceSquare(const cocos2d::CCPoint& first, const cocos2d::CCPoint& second)
    {
        return (second.x - first.x) * (second.x - first.x) + (second.y - first.y) * (second.y - first.y);
    }
}